{template 'header'}
<script src="{$res}js/layer-m/layer.js"></script>
<script type="text/javascript" src="{$res}static/jwap/js/jp.common.js"></script>




<div id="back_top" class="slide-box" style="display:none">
     <a href="{php echo $this->createMobileUrl('fav')}" class="bag-enter" title="我的收藏"><img src="{$res}static/jwap/images/bag-icon.png" alt="我的收藏" /></a>
     <a href="#" class="back-top" title="返回顶部"><img src="{$res}static/jwap/images/back-top.png" alt="返回顶部" /></a>
</div>

<div id="mainold" style="z-index:80;width:100%;position: relative;top:10px;height:auto;padding-bottom:100px;left:0;">


<center><img src="../addons/bsht_tbk/qrcode/mposter{$myuc['id']}.jpg" style="width:90%"></center>


</div>




<script type="text/javascript">
document.getElementById("back_top").style.display = "none";
window.onscroll = function () {
    
	var allheight = window.screen.height;
	

    if (document.documentElement.scrollTop + document.body.scrollTop > 100) {
        document.getElementById("back_top").style.display = "block";
    }
    else {
        document.getElementById("back_top").style.display = "none";
    }

	
}
</script>

<script type="text/javascript">
$(function(){
            function hideMenu() {
                setTimeout("window.scrollTo(0, 0)", 1);
            }

            $('.alert_black_bg .close').on('click', function(){
                $('.alert_black_bg').hide();
                $('#foot').height(120);
            });
            });
            $(".go-app .closed").on("click",function(){
                $(".go-app").hide();
                return false;
            })

</script>



<script type="text/javascript">
	$(function(){

{if $nohb!=1}

layer.open({
  content: '海报生成完毕，长按保存'
  ,style: 'background-color:#09C1FF; color:#fff; border:none;' //自定风格
  ,time: 3
  ,skin: 'msg'
  ,end: function(){
  //
  layer.open({
  content: '邀请方法：1、长按图片保存；2、发送给好友；3、好友激活后获取奖励积分！'
  ,style: 'background-color:#09C1FF; color:#fff; border:none;' //自定风格
  ,time: 8
  ,skin: 'msg'
});
  //
  }    
});
{else}
layer.open({
	shadeClose:false,
	shade: 'background-color: rgba(0,0,0,0.9)',
    closeBtn: 0,
    content: '您还没有生成海报，是否去生成！<br>点击公众号底部菜单“我的海报”'
    ,btn: ['制作海报', '返回首页']
    ,yes: function(index){
      WeixinJSBridge.call('closeWindow');
    },no: function(index){
      window.location.href="{php echo $this->createMobileUrl('index')}"; 
    }
  });


{/if}


	wx.config(jssdkconfig);
	var $_share = {php echo json_encode($_share);};
	if(typeof sharedata == 'undefined'){
		sharedata = $_share;
	} else {
		sharedata['title'] = sharedata['title'] || $_share['title'];
		sharedata['desc'] = sharedata['desc'] || $_share['desc'];
		sharedata['link'] = sharedata['link'] || $_share['link'];
		sharedata['imgUrl'] = sharedata['imgUrl'] || $_share['imgUrl'];
	}
	if(sharedata.imgUrl == ''){
		var _share_img = $('body img:eq(0)').attr("src");
		if(_share_img == ""){
			sharedata['imgUrl'] = window.sysinfo.attachurl + 'images/global/wechat_share.png';
		} else {
			sharedata['imgUrl'] = util.tomedia(_share_img);
		}
	}
	if(sharedata.desc == ''){
		var _share_content = util.removeHTMLTag($('body').html());
		if(typeof _share_content == 'string'){
			sharedata.desc = _share_content.replace($_share['title'], '')
		}
	}
	wx.ready(function () {

		wx.onMenuShareAppMessage(sharedata);
		wx.onMenuShareTimeline(sharedata);
		wx.onMenuShareQQ(sharedata);
		wx.onMenuShareWeibo(sharedata);

        sharedata.success = function(){

  
	    }




	});

	});
</script>

   </div>
  </div>
 </body>
</html>